Version

SharedObjectDefinition Constructor(String,Type,String[],String[])

Initializes a new SharedObjectDefinition
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal objectType As Type, _
   ByVal relatedRoles() As String, _
   ByVal relatedComponentRoles() As String _
)
public SharedObjectDefinition( 
   string name,
   Type objectType,
   string[] relatedRoles,
   string[] relatedComponentRoles
)

Parameters

name
Name of the shared object being registered. This is used to identify the object in the xml and must be unique across all shared objects.
objectType
Type of shared object being registered
relatedRoles
Array of role names indicating the roles used by an editor.
relatedComponentRoles
Array of component role names indicating the component roles used by an editor.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also